<template>
    <view class="container">
        <myNavigation ref="navBar"></myNavigation>
        <view>
            待做中...(同牛肋条页面)
        </view>
    </view>
</template>

<script setup>
import './niupai.scss'
import { ref, onMounted } from 'vue';
import Taro, { useRouter } from "@tarojs/taro";
import myNavigation from '../../../../components/myNavigation.vue';


// 导航栏信息
const navBar = ref(null);

const navigationHome = () => {
    Taro.switchTab({
        url: '../../../index/index',
    });
};

const setNavBar = () => {
    if (navBar.value) {
        navBar.value.navigationHome = navigationHome;
        navBar.value.navigationTitle = "肉汁四溢，奶香十足～不输餐厅的人间绝味，5分钟搞定！";
    }
}

onMounted(() => {
    setNavBar();
});

</script>

<style lang="scss" scoped></style>